package com.kxmall.vehicle.domain.bo;

import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 餐车调入商品信息对象
 */

@Data
@ApiModel("餐车调入商品信息对象")
public class KxVehicleInGoodsBo {

    @ApiModelProperty(value = "餐车调入商品信息表ID")
    @NotNull(message = "餐车调入商品信息表主键不能为空", groups = { EditGroup.class })
    private Long id;

    @ApiModelProperty(value = "调出仓库ID")
    private Long storageId;

    @ApiModelProperty(value = "调入餐车表ID")
    private Long vehicleId;

    @ApiModelProperty(value = "餐车动力单元编号")
    private String vehicleNo;

    @ApiModelProperty(value = "入车单号")
    private String inVehicleOrder;

    @ApiModelProperty(value = "调入餐车数量")
    private Long inVehicleCount;

    @ApiModelProperty(value = "商品表ID")
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品类目ID")
    private Long productAttrId;

    @ApiModelProperty(value = "商品规格")
    private String productAttrName;

    @ApiModelProperty(value = "商品类目ID")
    private Long categoryId;

    @ApiModelProperty(value = "商品类目")
    private String categoryName;

    //@ApiModelProperty(value = "商品条码")
    //private String barCode;

    @ApiModelProperty(value = "原价")
    private BigDecimal orPrice;

    @ApiModelProperty(value = "库存可用量")
    private Long stock;

    @ApiModelProperty(value = "销售状态 0:下架或已售; 1:上架且未售")
    private Integer salesStatus;

    @ApiModelProperty(value = "调入人")
    private String inPerson;

    @ApiModelProperty(value = "调入时间")
    private Date inTime;

    @ApiModelProperty(value = "调入日期")
    private Date inDay;

}
